import Vue from "vue"
import Vuex from "vuex"
// 导入购物车模块
import ModuleCart from "../store/cart.js"
// 导入用户模块
import ModuleUser from "../store/user.js"
Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {
    'm_cart': ModuleCart,
    'm_user': ModuleUser
  }
})
export default store
